#include "MyFigureDraw.h"


void DoWithMyFigureDraw(MyFigureDraw* fd)
{
	fd->SelectGraphic();
	
	fd->SelectChart();
	fd->CreateAllShape();
	
	fd->SelectEffect();

	system("cls");

	fd->ShowInformation();
	fd->Draw();
}

void TestMyFigureDraw()
{
	MyFigureDraw* fd = new MyFigureDraw();
	
	char result;

	do
	{
		system("cls");
		DoWithMyFigureDraw(fd);
		cout << "Ban co muon tiep tuc khong (C/K) ?";
		cin >> result;
	}
	while (result != 'K' && result != 'k');
}

void main()
{
	TestMyFigureDraw();

	system("pause");
}







